package com.czxy.demo19;

public class Test01 {
    public static void main(String[] args) throws BankException {
        BankCard b = new BankCard();

        try {
            b.saveMoney(5001);
            b.drawMoney(100000);
        }catch (BankException e){
            System.out.println("捕捉到了");
        }
    }
}
